module.exports = {
  publicPath: './',
  lintOnSave: false,
  // 去除 map 文件 1
  productionSourceMap: false,
  outputDir:"../ibzlite-app/ibzlite-app-web/target/classes/META-INF/resources/avuedata/",
  devServer: {
        host: '0.0.0.0',

        port: 9111,
        compress: true,
        disableHostCheck: true,
        //proxy: "http://172.16.180.237:30010/",
        proxy: "http://127.0.0.1:8080/",
        historyApiFallback: {
            rewrites: [
            ]
        }
    },
  chainWebpack: (config) => {
    //忽略的打包文件
    config.externals({
      'vue': 'Vue',
      'vue-router': 'VueRouter',
      'vuex': 'Vuex',
      'axios': 'axios',
      'element-ui': 'ELEMENT',
    })
  }
}